Skip to content

Conversation

@abbesBenayache
Copy link
Contributor

  • Add 1 second delay before each Telegram API call to respect rate limits
  • Increase maxRetries to 10 for better error recovery
  • Improve error handling: HTTP errors (non-429) fail immediately without retry
  • Only retry on 429 rate limit errors and network errors
  • Add unit and e2e tests for rate limiting behavior

Copy link
Contributor

@SeddikBellamine SeddikBellamine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lint errors needs to be fixed

- Add 1 second delay before each Telegram API call to respect rate limits
- Increase maxRetries to 10 for better error recovery
- Improve error handling: HTTP errors (non-429) fail immediately without retry
- Only retry on 429 rate limit errors and network errors
- Add unit and e2e tests for rate limiting behavior
@abbesBenayache abbesBenayache force-pushed the fix/429-rate-limit-errors-iapp branch from 47389cb to c01f398 Compare November 17, 2025 15:55
@abbesBenayache abbesBenayache merged commit ae57ff1 into main Nov 17, 2025
3 checks passed
@abbesBenayache abbesBenayache deleted the fix/429-rate-limit-errors-iapp branch November 17, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants